package com.zhongfl.crm.lixiao.mapper;

import com.zhongfl.crm.model.boss.RelationAmibaBank;

import java.util.List;

public interface RelationAmibaBankMapper {

    int deleteById(Integer id);

    int insertSelective(RelationAmibaBank record);

    RelationAmibaBank selectById(Integer id);

    int updateByIdSelective(RelationAmibaBank record);

    /**
     * 查询业务银行列表
     *
     * @param amibaId 阿米巴ID
     */
    List<RelationAmibaBank> selectBankListByAmibaId(Integer amibaId);

    /**
     * 根据ID查询关系
     */
    RelationAmibaBank selectByRelationAmibaBankId(Integer relationId);
}